#-*- encoding:utf8 -*-

import socket
import time
import struct
import random



def main():
    print "test timeout...."

    s = socket.create_connection(("127.0.0.1", 8088))
    #s.setblocking(False)

    time.sleep(9999)

    s.shutdown(1)
    time.sleep(1)

    s.close()



if __name__ == '__main__':
    main()
    